package com.xunyji.springsecurity02.pojo.dataobject;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;

/**
 * @author 王杨帅
 * @create 2018-09-08 20:09
 * @desc
 **/
@Entity
@Table(name = "security_user_role")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SecurityUserRoleDO {
    @Id
    private int id;
    private int userId;
    private int roleId;
}

